package com.zrf.hibernate.model;

public class MyShoppingCart {

	
	private Integer scid;
	private String pname;
	private Double price;
	private Integer num;
	private Double oneprice;
	private Double allprice;
	
	
	public MyShoppingCart() {
		super();
	}
	public MyShoppingCart(Integer scid, String pname, Double price, Integer num,
			Double oneprice, Double allprice) {
		super();
		this.scid = scid;
		this.pname = pname;
		this.price = price;
		this.num = num;
		this.oneprice = oneprice;
		this.allprice = allprice;
	}
	public MyShoppingCart(Integer scid, String pname, Double price, Integer num,
			Double oneprice) {
		super();
		this.scid = scid;
		this.pname = pname;
		this.price = price;
		this.num = num;
		this.oneprice = oneprice;
	}
	public Integer getScid() {
		return scid;
	}
	public void setScid(Integer scid) {
		this.scid = scid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public Double getOneprice() {
		return oneprice;
	}
	public void setOneprice(Double oneprice) {
		this.oneprice = oneprice;
	}
	public Double getAllprice() {
		return allprice;
	}
	public void setAllprice(Double allprice) {
		this.allprice = allprice;
	}
	
	
	
	
}
